<%@ page contentType="text/html;charset=UTF-8" %>
<html>
<head>
  <title>Groovy Publish - <g:layoutTitle/></title>
  <link rel="stylesheet" href="${createLinkTo(dir: 'css', file: 'screen.css')}"/>
  <g:layoutHead/>
</head>
<body>

<div id="authlinks">
  <gp:secureLink controller="user" action="logout">
    Logout
  </gp:secureLink>
  <gp:noAuthOnlyLink controller="user" action="login">
    Login
  </gp:noAuthOnlyLink>

</div>
<div id="outer">

  <div id="header">
  <h1><g:link controller="post" action="list">${blogConfig.title}</g:link></h1>
      <p>${blogConfig.description}</p>
  </div>
  <div id="container">
  <div id="main">

    <g:layoutBody/>

  </div>
  <div id="rightnav">
    <h2>Tags</h2>
    <ul>
      <g:each var="tag" in="${tags}">
        <li><g:link controller="post" action="listByTag" id="${tag.name}">${tag.name}</g:link></li>
      </g:each>
    </ul>
  </div>
</div>
<div class="clear"/>

<div id="footer">
  <p>Subscribe to <g:link controller="post" action="rss">rss</g:link></p>  
</div>
</div>
</body>
</html>